﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Security;
using University.Workshop.Business;

namespace University.Workshop.WebApp
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (WebmasterManager.IsWebmaster(Page.User.Identity.Name))
            {
                var lnkbtn = HeadLoginView.FindControl("WebMasterTools") as LinkButton;
                lnkbtn.Visible = true;
            }
        }
    }
}
